<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../js/common.js"></script>
    <script src="../../js/echarts.js"></script>
    <script src="../../js/walden.js"></script>
    <script src="../../libs/My97DatePicker/4.8/WdatePicker.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <el-select
            v-model="yearValue"
            multiple
            collapse-tags
            size="small"
            style="margin-left: 20px;width: 150px"
            placeholder="请选择学年">
        <el-option
                v-for="item in yearOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
        </el-option>
    </el-select>
    <el-select
            v-model="termValue"
            multiple
            collapse-tags
            size="small"
            style="margin-left: 20px;width: 150px"
            placeholder="请选择学期">
        <el-option
                v-for="item in termOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
        </el-option>
    </el-select>
    <el-select
            v-model="weekValue"
            multiple
            collapse-tags
            size="small"
            style="margin-left: 20px;width: 150px"
            placeholder="请选择教学周">
        <el-option
                v-for="item in weekOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
        </el-option>
    </el-select>
    <el-select
            v-model="dayValue"
            multiple
            collapse-tags
            size="small"
            style="margin-left: 20px;width: 150px"
            placeholder="请选择星期几">
        <el-option
                v-for="item in dayOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
        </el-option>
    </el-select>
    <el-select
            v-model="indexValue"
            multiple
            collapse-tags
            size="small"
            style="margin-left: 20px;width: 150px"
            placeholder="请选择第几节">
        <el-option
                v-for="item in indexOptions"
                :key="item.value"
                :label="item.label"
                :value="item.value">
        </el-option>
    </el-select>

    <div class="row">
        <div class="form-group col-sm-2 set-paddingLeft">
            <input type="text" class="form-control" onfocus="WdatePicker()" id="startDate" name="startDate" placeholder="开始时间"/>
        </div>
        <div class="form-group col-sm-2">
            <input type="text" class="form-control" onfocus="WdatePicker()" id="endDate" name="endDate"  placeholder="结束时间"/>
        </div>
        <div class="btn-container">
            <span  class="normal-btn normal-color" onclick="setDate('1')">今日</span>
            <span  class="normal-btn normal-color" onclick="setDate('2')">本周</span>
            <span  class="normal-btn normal-color" onclick="setDate('3')">本月</span>
            <a class="btn btn-default" @click="query">查询</a>
        </div>

    </div>
</div>

<!-- 图表区域 -->
<div class="row">
    <!--教师出勤情况-->
    <div class="form-group col-sm-4">
        <div id="teacherAttendancePie" style="width: 300px;height:300px;float:left;"></div>
    </div>
    <!--教师出勤情况纵向比-->
    <div class="form-group col-sm-4">
        <div id="teacherAttendanceTimePie" style="width: 600px;height:300px;float:left;"></div>
    </div>

</div><div class="row">
    <!--教学进度符合率-->
    <div class="form-group col-sm-4">
        <div id="teacherEvaltionPieRate" style="width: 400px;height:400px;float:left;"></div>
    </div>    <!--授课时长-->
    <div class="form-group col-sm-8">
        <div id="teacherEvaltionTimeLine" style="width: 800px;height:400px;float:left;"></div>
    </div>
    <!--&lt;!&ndash;评教情况&ndash;&gt;-->
    <!--<div class="form-group col-sm-8">-->
    <!--<div id="teacherEvaltionBar" style="width: 800px;height:400px;float:left;"></div>-->
    <!--</div>-->
</div>

<!--<div class="row">-->
<!--&lt;!&ndash; 评教饼状图&ndash;&gt;-->
<!--<div class="form-group col-sm-4">-->
<!--<div id="teacherEvaltionPie" style="width: 400px;height:400px;float:left;"></div>-->
<!--</div>-->
<!--&lt;!&ndash;评教柱状图，分类别&ndash;&gt;-->
<!--<div class="form-group col-sm-8">-->
<!--<div id="teacherEvaltionRateBar" style="width: 800px;height:400px;float:left;"></div>-->
<!--</div>-->
<!--</div>-->



<script src="../../js/modules/echarts/teacher_portrait_user.js"></script>
</body>
</html>